home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_11722.txt < prev    next >
Text File  |  1990-10-02  |  9KB  |  421 lines

  1. -- card: 11722 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 15346
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global chase
  9.   send cardOpened to background
  10.   hide card field hortaBelow
  11.   if chase‚â•2 then hortaChase
  12. end openCard
  13.  
  14. on move
  15.   global direction,pillarEat,chase,blasting,causeOfDeath
  16.   if chase>2 then
  17.     if direction="down" or direction="back" then
  18.       put "horta4" into causeOfDeath
  19.       visual wipe up slowly to gray
  20.       go to card id 3409
  21.       exit move
  22.     end if
  23.   end if
  24.   if direction = "down" then
  25.     if pillarEat = true then
  26.       go to card id 23127
  27.       exit move
  28.     else
  29.       go to card id 22580
  30.       exit move
  31.     end if
  32.   end if
  33.   pass move
  34. end move
  35.  
  36.  
  37. on closeCard
  38.   set the cursor to 4
  39.   put "" into field 3
  40.   show card button hortaCover
  41. end closeCard
  42.  
  43. on take
  44.   global object,carried
  45.   -- remember to update carried if you do not pass take
  46.   pass take
  47. end take
  48.  
  49. on drop
  50.   global object,dropRoom,carried,chase,pillarEat,causeOfDeath
  51.   if chase=3 then
  52.     put last word of object into obj
  53.     delete last char of obj
  54.     delete first char of obj
  55.     if obj<>"nodule" then
  56.       put "horta2" into causeOfDeath
  57.       visual wipe up slowly to gray
  58.       go card id 3409
  59.       exit drop
  60.     end if
  61.   end if
  62.   answer "Drop object on pillar, or into the room?" with "pillar" or "room"
  63.   if it="room" then
  64.     if pillarEat then
  65.       put "23127" into dropRoom
  66.       if chase=3 then
  67.         show card field noduleDrop
  68.         put 0 into chase
  69.         show card button hortaCover
  70.       end if
  71.     else
  72.       put "22580" into dropRoom
  73.     end if
  74.   end if
  75.   -- remember to update carried if you do not pass drop
  76.   pass drop
  77. end drop
  78.  
  79. on use
  80.   global object,carried
  81.   -- update carried if use results in loss of object
  82.   pass use
  83. end use
  84.  
  85. on hortaChase
  86.   global chase,pillarEat,oldRoom,newRoom
  87.   hide card button hortaCover
  88.   put "The Horta is disolving away the base of the pillar.  The pillar could fall over any second!" into field 3
  89.   if chase=2 then show card field hortaBelow
  90.   put 3 into chase
  91.   if pillarEat = false then
  92.     put true into pillarEat
  93.     put "22580" into oldRoom
  94.     put "23127" into newRoom
  95.     send roomChange to background
  96.     put cardID into prevID
  97.   end if
  98. end hortaChase
  99.  
  100.  
  101.  
  102. -- part 16 (button)
  103. -- low flags: 80
  104. -- high flags: 2000
  105. -- rect: left=100 top=229 right=265 bottom=134
  106. -- title width / last selected line: 0
  107. -- icon id / first selected line: 9301 / 9301
  108. -- text alignment: 1
  109. -- font id: 0
  110. -- text size: 12
  111. -- style flags: 0
  112. -- line height: 16
  113. -- part name: knife
  114. ----- HyperTalk script -----
  115. on mouseUp
  116.   global takeFlag,examFlag,object,cardID
  117.   put the name of the target into object
  118.   if takeFlag = true
  119.   then send take to card id cardID
  120. else put "a knife" into field 3
  121. put false into examFlag
  122. end mouseUp
  123.  
  124.  
  125.  
  126. -- part 17 (button)
  127. -- low flags: 80
  128. -- high flags: 2000
  129. -- rect: left=66 top=228 right=264 bottom=100
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 1015 / 1015
  132. -- text alignment: 1
  133. -- font id: 0
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: nodule
  138. ----- HyperTalk script -----
  139. on mouseUp
  140.   global takeFlag,examFlag,object,cardID
  141.   put the name of the target into object
  142.   if takeFlag = true
  143.   then send take to card id cardID
  144. else put "a silicon sphere" into field 3
  145. put false into examFlag
  146. end mouseUp
  147.  
  148.  
  149.  
  150. -- part 18 (button)
  151. -- low flags: 80
  152. -- high flags: 2000
  153. -- rect: left=168 top=229 right=265 bottom=202
  154. -- title width / last selected line: 0
  155. -- icon id / first selected line: 14953 / 14953
  156. -- text alignment: 1
  157. -- font id: 0
  158. -- text size: 12
  159. -- style flags: 0
  160. -- line height: 16
  161. -- part name: ladder
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   global takeFlag,examFlag,object,cardID
  165.   put the name of the target into object
  166.   if takeFlag = true
  167.   then send take to card id cardID
  168. else put "a rope ladder" into field 3
  169. put false into examFlag
  170. end mouseUp
  171.  
  172.  
  173.  
  174. -- part 19 (button)
  175. -- low flags: 80
  176. -- high flags: 2000
  177. -- rect: left=134 top=229 right=265 bottom=168
  178. -- title width / last selected line: 0
  179. -- icon id / first selected line: 1019 / 1019
  180. -- text alignment: 1
  181. -- font id: 0
  182. -- text size: 12
  183. -- style flags: 0
  184. -- line height: 16
  185. -- part name: bomb
  186. ----- HyperTalk script -----
  187. on mouseUp
  188.   global takeFlag,examFlag,object,cardID
  189.   put the name of the target into object
  190.   if takeFlag = true
  191.   then send take to card id cardID
  192. else put "a time bomb" into field 3
  193. put false into examFlag
  194. end mouseUp
  195.  
  196.  
  197.  
  198. -- part 20 (button)
  199. -- low flags: 80
  200. -- high flags: 2000
  201. -- rect: left=32 top=228 right=264 bottom=66
  202. -- title width / last selected line: 0
  203. -- icon id / first selected line: 24317 / 24317
  204. -- text alignment: 1
  205. -- font id: 0
  206. -- text size: 12
  207. -- style flags: 0
  208. -- line height: 16
  209. -- part name: key
  210. ----- HyperTalk script -----
  211. on mouseUp
  212.   global takeFlag,examFlag,object,cardID
  213.   put the name of the target into object
  214.   if takeFlag = true
  215.   then send take to card id cardID
  216. else put "a key" into field 3
  217. put false into examFlag
  218. end mouseUp
  219.  
  220.  
  221.  
  222. -- part 21 (button)
  223. -- low flags: 80
  224. -- high flags: 2000
  225. -- rect: left=202 top=229 right=265 bottom=236
  226. -- title width / last selected line: 0
  227. -- icon id / first selected line: 7012 / 7012
  228. -- text alignment: 1
  229. -- font id: 0
  230. -- text size: 12
  231. -- style flags: 0
  232. -- line height: 16
  233. -- part name: gem
  234. ----- HyperTalk script -----
  235. on mouseUp
  236.   global takeFlag,examFlag,object,cardID
  237.   put the name of the target into object
  238.   if takeFlag = true
  239.   then send take to card id cardID
  240. else put "a glowing gem" into field 3
  241. put false into examFlag
  242. end mouseUp
  243.  
  244.  
  245.  
  246. -- part 22 (button)
  247. -- low flags: 80
  248. -- high flags: 2000
  249. -- rect: left=0 top=231 right=267 bottom=34
  250. -- title width / last selected line: 0
  251. -- icon id / first selected line: 23078 / 23078
  252. -- text alignment: 1
  253. -- font id: 0
  254. -- text size: 12
  255. -- style flags: 0
  256. -- line height: 16
  257. -- part name: orb
  258. ----- HyperTalk script -----
  259. on mouseUp
  260.   global takeFlag,examFlag,object,cardID
  261.   put the name of the target into object
  262.   if takeFlag = true
  263.   then send take to card id cardID
  264. else put "a crystal orb" into field 3
  265. put false into examFlag
  266. end mouseUp
  267.  
  268.  
  269.  
  270. -- part 34 (button)
  271. -- low flags: 00
  272. -- high flags: 0000
  273. -- rect: left=143 top=50 right=106 bottom=181
  274. -- title width / last selected line: 0
  275. -- icon id / first selected line: 0 / 0
  276. -- text alignment: 1
  277. -- font id: 0
  278. -- text size: 12
  279. -- style flags: 0
  280. -- line height: 16
  281. -- part name: 
  282. ----- HyperTalk script -----
  283. on mouseUp
  284.   global examFlag,direction,cardID,takeFlag
  285.   if examFlag then
  286.     put "a tunnel leading west." into field 3
  287.     put false into examFlag
  288.   else
  289.     put false into takeFlag
  290.     beep
  291.     put "You must get down off the pillar first" into field 3
  292.   end if
  293. end mouseUp
  294.  
  295.  
  296.  
  297. -- part 41 (button)
  298. -- low flags: 00
  299. -- high flags: 0000
  300. -- rect: left=5 top=106 right=168 bottom=253
  301. -- title width / last selected line: 0
  302. -- icon id / first selected line: 0 / 0
  303. -- text alignment: 1
  304. -- font id: 0
  305. -- text size: 12
  306. -- style flags: 0
  307. -- line height: 16
  308. -- part name: 
  309. ----- HyperTalk script -----
  310. on mouseUp
  311.   global takeFlag,examFlag,cardID,direction
  312.   put false into takeFlag
  313.   put false into examFlag
  314.   put "down" into direction
  315.   send move to card id cardID
  316. end mouseUp
  317.  
  318.  
  319.  
  320. -- part 42 (button)
  321. -- low flags: 00
  322. -- high flags: 0001
  323. -- rect: left=124 top=170 right=196 bottom=169
  324. -- title width / last selected line: 0
  325. -- icon id / first selected line: 0 / 0
  326. -- text alignment: 1
  327. -- font id: 0
  328. -- text size: 12
  329. -- style flags: 0
  330. -- line height: 16
  331. -- part name: hortaCover
  332.  
  333.  
  334. -- part 43 (field)
  335. -- low flags: 81
  336. -- high flags: 2002
  337. -- rect: left=0 top=0 right=342 bottom=512
  338. -- title width / last selected line: 0
  339. -- icon id / first selected line: 0 / 0
  340. -- text alignment: 0
  341. -- font id: 3
  342. -- text size: 12
  343. -- style flags: 0
  344. -- line height: 16
  345. -- part name: hortaBelow
  346. ----- HyperTalk script -----
  347. on mouseUp
  348.   hide card field hortaBelow
  349. end MouseUp
  350.  
  351.  
  352. -- part 44 (field)
  353. -- low flags: 81
  354. -- high flags: 2002
  355. -- rect: left=0 top=0 right=342 bottom=512
  356. -- title width / last selected line: 0
  357. -- icon id / first selected line: 0 / 0
  358. -- text alignment: 0
  359. -- font id: 3
  360. -- text size: 12
  361. -- style flags: 0
  362. -- line height: 16
  363. -- part name: noduleDrop
  364. ----- HyperTalk script -----
  365. on mouseUp
  366.   hide card field noduleDrop
  367.   put "The Horta is gone." into field 3
  368. end mouseUp
  369.  
  370.  
  371. -- part contents for background part 25
  372. ----- text -----
  373. Top of Crystal Pillar
  374. (looking west)
  375.  
  376. -- part contents for card part 43
  377. ----- text -----
  378.  
  379.  
  380. You easily scramble up the crystal pillar.  The creature tries to follow, but the crystal material of the pillar dissolves on contact with its body so it is not able to follow you up.  The creature continues to try, however, and the base of the pillar is eroding away!  The pillar probably won't last long, so you'd better think of something.
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393. Click to continue.
  394.  
  395. -- part contents for card part 44
  396. ----- text -----
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407. You drop the silicon nodule off of the pillar.  The Horta creature instantly forms a pseudopod and deftly catches the nodule.  The Horta gently places the nodule back on the spot where you found it.  It then emits a low rasping noise in your direction, and shuffles out of the room, the rock floor sizzling and smoking faintly in its wake.
  408.  
  409.  
  410.  
  411.  
  412. Click to continue...
  413.  
  414. -- part contents for background part 24
  415. ----- text -----
  416. You are perched atop the crystal pillar.  The flat top of the pillar is about four feet in diameter.
  417.  
  418.  
  419. -- part contents for background part 36
  420. ----- text -----
  421. 1